﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000ECB RID: 3787
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueDoGambleCsReq : IMessage<RogueDoGambleCsReq>, IMessage, IEquatable<RogueDoGambleCsReq>, IDeepCloneable<RogueDoGambleCsReq>, IBufferMessage
	{
		// Token: 0x17002FFE RID: 12286
		// (get) Token: 0x0600A99D RID: 43421 RVA: 0x001C9E3C File Offset: 0x001C803C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueDoGambleCsReq> Parser
		{
			get
			{
				return RogueDoGambleCsReq._parser;
			}
		}

		// Token: 0x17002FFF RID: 12287
		// (get) Token: 0x0600A99E RID: 43422 RVA: 0x001C9E43 File Offset: 0x001C8043
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueDoGambleCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003000 RID: 12288
		// (get) Token: 0x0600A99F RID: 43423 RVA: 0x001C9E55 File Offset: 0x001C8055
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueDoGambleCsReq.Descriptor;
			}
		}

		// Token: 0x0600A9A0 RID: 43424 RVA: 0x001C9E5C File Offset: 0x001C805C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDoGambleCsReq()
		{
		}

		// Token: 0x0600A9A1 RID: 43425 RVA: 0x001C9E64 File Offset: 0x001C8064
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDoGambleCsReq(RogueDoGambleCsReq other) : this()
		{
			this.propEntityId_ = other.propEntityId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A9A2 RID: 43426 RVA: 0x001C9E89 File Offset: 0x001C8089
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDoGambleCsReq Clone()
		{
			return new RogueDoGambleCsReq(this);
		}

		// Token: 0x17003001 RID: 12289
		// (get) Token: 0x0600A9A3 RID: 43427 RVA: 0x001C9E91 File Offset: 0x001C8091
		// (set) Token: 0x0600A9A4 RID: 43428 RVA: 0x001C9E99 File Offset: 0x001C8099
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropEntityId
		{
			get
			{
				return this.propEntityId_;
			}
			set
			{
				this.propEntityId_ = value;
			}
		}

		// Token: 0x0600A9A5 RID: 43429 RVA: 0x001C9EA2 File Offset: 0x001C80A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueDoGambleCsReq);
		}

		// Token: 0x0600A9A6 RID: 43430 RVA: 0x001C9EB0 File Offset: 0x001C80B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueDoGambleCsReq other)
		{
			return other != null && (other == this || (this.PropEntityId == other.PropEntityId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A9A7 RID: 43431 RVA: 0x001C9EE0 File Offset: 0x001C80E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PropEntityId != 0U)
			{
				num ^= this.PropEntityId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A9A8 RID: 43432 RVA: 0x001C9F1F File Offset: 0x001C811F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A9A9 RID: 43433 RVA: 0x001C9F27 File Offset: 0x001C8127
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A9AA RID: 43434 RVA: 0x001C9F30 File Offset: 0x001C8130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PropEntityId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A9AB RID: 43435 RVA: 0x001C9F64 File Offset: 0x001C8164
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PropEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A9AC RID: 43436 RVA: 0x001C9FA2 File Offset: 0x001C81A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueDoGambleCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PropEntityId != 0U)
			{
				this.PropEntityId = other.PropEntityId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A9AD RID: 43437 RVA: 0x001C9FD3 File Offset: 0x001C81D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A9AE RID: 43438 RVA: 0x001C9FDC File Offset: 0x001C81DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.PropEntityId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040044D2 RID: 17618
		private static readonly MessageParser<RogueDoGambleCsReq> _parser = new MessageParser<RogueDoGambleCsReq>(() => new RogueDoGambleCsReq());

		// Token: 0x040044D3 RID: 17619
		private UnknownFieldSet _unknownFields;

		// Token: 0x040044D4 RID: 17620
		public const int PropEntityIdFieldNumber = 9;

		// Token: 0x040044D5 RID: 17621
		private uint propEntityId_;
	}
}
